#include Player.h

int FindArmy(int ID)
{
      vector<int>::iterator it;
      it = find (m_armies.begin(), m_armies.end(), ID);
      if (it = m_armies.end)
      return -1;
      return ID;
      }
int FindCity(int ID)
{
      vector<int>::iterator it;
      it = find (m_cities.begin(), m_cities.end(), ID);
      if (it = m_cities.end)
      return -1;
      return ID;
      }
int FindTreaty(int ID)
{
      vector<int>::iterator it;
      it = find (m_treaties.begin(), m_treaties.end(), ID);
      if (it = m_treaties.end)
      return -1;
      return ID;
      }
int FindWar(int ID)
{
      vector<int>::iterator it;
      it = find (m_wars.begin(), m_wars.end(), ID);
      if (it = m_wars.end)
      return -1;
      return ID;
      }
int FindOrder(int ID)
{
      vector<int>::iterator it;
      it = find (m_orders.begin(), m_orders.end(), ID);
      if (it = m_orders.end)
      return -1;
      return ID;
      }
int FindTile(int iD)
{
      vector<int>::iterator it;
      it = find (m_tiles.begin(), m_tiles.end(), ID);
      if (it = m_tiles.end)
      return -1;
      return ID;
      }
